<html><head><title>Parameter of the function DAYS360</title><meta name="filename" content="text/scalc/01/04060120"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
<p class="Head1">Parameter of the function DAYS360</p>
<p class="Paragraph">The interpreter behavior of the <help:link Id="66874" Eid="tage360" xmlns:help="http://openoffice.org/2000/help">DAYS360 function</help:link> was changed with the release of <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> 5.2. So when you recalculate documents from previous versions you may get different results. In this section "Old:" means <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>behavior of <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> prior to version 5.2, and "New:" refers to behavior with effect from <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> 5.2.</p>
<p class="Paragraph">Note: DAYS360 calculates intervals on the basis of 30-day-months, the last day of the month is always the 30th. (the 31st. will be handled as 30th.), with the exception of February. February is especially handled. The modifications are:</p>
<p class="Paragraph"><span class="T1">Old:</span> If the third optional parameter was not entered, it would have been interpreted as non 0 (TRUE) (European method).</p>
<p class="Paragraph"><span class="T1">New:</span> If the third optional parameter is not entered, it will be now interpreted as =0 (FALSE) (US method (NASD)).</p>
<p class="Paragraph"><span class="T1">Old:</span> If the date 2/28 was a leap year, it would have been converted to 2/29 if the third parameter had been previously entered and was FALSE.</p>
<p class="Paragraph"><span class="T1">New:</span> if the date 2/28 is a leap year, it will always remain 2/28.</p>
<p class="Paragraph">The table shows a short summary.</p>
<p class="Paragraph">Furthermore, the following applies:</p>
<p class="Paragraph">If the earlier date is a 31st. <span class="T1">and</span> the third parameter is FALSE <span class="T1">and</span> the old date was not any 30th. (after a possible conversion of a date such as 2/28-2/29 or 31), <span class="T1">then</span> the earlier date will be set on the 1st. of the following month.</p>
<p class="Paragraph">If the earlier date is a 31st. <span class="T1">and</span> the third parameter is TRUE <span class="T1">or</span> the previous date was a 30th., <span class="T1">then</span> the earlier date will be set on the 30th. The approach is (Old:/New:) remaining equal, but the result can be modified via the modified default values with a missing third parameter.</p>